package StringExample;

public class StringDemo05 {
    public static void main(String[] args) {
        String str = null;
        str = GetString(null);
        if (str != null) {
            System.out.println(str);
        }else {
            System.out.println("str is null");
        }
    }
    public static String GetString(String str) {
        return str;
    }
}
